//package com.qiqu;
//
//import org.springframework.boot.builder.SpringApplicationBuilder;
//import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
//
///*
//* 继承SpringBootServletInitializer,相当于使用web.xml的形式启动部署，因为war只能这样启动
//* */
//
//public class WarStartApplication extends SpringBootServletInitializer {
//
////    重写配置
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
//        //指向原启动类
//        return builder.sources(QiquApplication.class);
//    }
//
//}
